package com.gxa.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Document(collation = "gxa_banner")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Banner implements Serializable {


    @org.springframework.data.annotation.Id
    private String Id;//主键

    private String title;//标题

    private String link;//跳转链接

    private String cover;//图片地址

    private Integer ordered;//顺序

    private String summary;//描述信息
}
